package com.example.demo.serviceImpl;

import com.example.demo.entity.Demo;
import com.example.demo.mapper.TestMapper;
import com.example.demo.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TestServiceImpl implements TestService {

    @Autowired
    private TestMapper testMapper;
    public List<Demo> ListDemo(){
        return  testMapper.TestList();
    }
}
